import { Component, ChangeDetectionStrategy } from "@angular/core";

@Component({
  selector: "table-simple1",
  changeDetection: ChangeDetectionStrategy.OnPush,
  templateUrl: "table-simple1.component.html",
  styleUrls: ["table-simple1.component.less"],
  inputs: ['data', 'header']
})

export class TableSimple1Component {
  constructor () {}

  trackByItem (index: number, item: any) {
    return item.key
  }
}